home *** CD-ROM | disk | FTP | other *** search
- MVBITS(3I) Last changed: 1-6-98
-
-
- NNAAMMEE
- MMVVBBIITTSS - Copies a sequence of bits from one integer data object to
- another
-
- SSYYNNOOPPSSIISS
- CCAALLLL MMVVBBIITTSS (([FFRROOMM==]_f_r_o_m,, [FFRROOMMPPOOSS==]_f_r_o_m_p_o_s,, [LLEENN==]_l_e_n,, [TTOO==]_t_o,,
- [TTOOPPOOSS==]_t_o_p_o_s))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, and IRIX systems
-
- SSTTAANNDDAARRDDSS
- Fortran 90
-
- DDEESSCCRRIIPPTTIIOONN
- The MMVVBBIITTSS intrinsic subroutine copies a sequence of bits from one
- integer data object to another. It accepts the following arguments:
-
- _f_r_o_m Must be of type integer. It is an IINNTTEENNTT ((IINN)) argument.
-
- _f_r_o_m_p_o_s Must be of type integer and nonnegative. It is an IINNTTEENNTT
- ((IINN)) argument. _f_r_o_m_p_o_s + _l_e_n must be less than or equal to
- BBIITT__SSIIZZEE (_f_r_o_m). The bit model defines the interpretation
- of an integer value as a sequence of bits. For more
- information on the bit model see the MMOODDEELLSS(3I) man page.
-
- _l_e_n Must be of type integer and nonnegative. It is an IINNTTEENNTT
- ((IINN)) argument.
-
- _t_o Must be a variable of type integer with the same kind type
- parameter value as _f_r_o_m and may be the same variable as
- _f_r_o_m. It is an IINNTTEENNTT ((IINNOOUUTT)) argument. _t_o is set by
- copying the sequence of bits of length _l_e_n, starting at
- position _f_r_o_m_p_o_s of _f_r_o_m to position _t_o_p_o_s of _t_o. No other
- bits of _t_o are altered. On return, the _l_e_n bits of _t_o
- starting at _t_o_p_o_s are equal to the value that the _l_e_n bits
- of _f_r_o_m starting at _f_r_o_m_p_o_s had on entry.
-
- _t_o_p_o_s Must be of type integer and nonnegative. It is an IINNTTEENNTT
- ((IINN)) argument. _t_o_p_o_s + _l_e_n must be less than or equal to
- BBIITT__SSIIZZEE (_t_o).
-
- MMVVBBIITTSS is an elemental subroutine. The name of this intrinsic cannot
- be passed as an argument.
-
- EEXXAAMMPPLLEESS
- If TTOO has the initial value 6, the value of TTOO after the statement
- CCAALLLL MMVVBBIITTSS((77,, 22,, 22,, TTOO,, 00)) is 5.
-
- SSEEEE AALLSSOO
- MMOODDEELLSS(3I)
-
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
- printed version of this man page.
-
-